﻿

'Description:计划管理业务类接口
'Copyright (c) : 通力凯顿（北京）系统集成有限公司
'Writer:Yangsj
'create Date:2017-3-24
'Rewriter:
'Rewrite Date:
Imports BusinessRule.DTO
Public Interface uLMSMfgOrderIBusiness
    ''' <summary>
    ''' 获取生产订单数据
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetMfgOrderData(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 根据开始时间和零件图号查询相关信息
    ''' create Wangjh
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetMonthPlanData(ByVal para As Dictionary(Of String, String)) As DataTable
    ''' <summary>
    ''' 添加月计划订单
    ''' create Wangjh
    ''' </summary>
    ''' <param name="paraDic"></param>
    ''' <param name="resultInfo"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function SaveMonthPlanData(ByVal paraDic As Dictionary(Of String, String), ByRef resultInfo As String) As Boolean
    ''' <summary>
    ''' 更新月计划订单
    ''' create Wangjh
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateMonthPlanData(ByVal para As Dictionary(Of String, String)) As Boolean
    ''' <summary>
    ''' 删除月计划订单
    ''' create Wangjh
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function DelMonthPlanData(ByVal para As Dictionary(Of String, String), ByRef resultInfo As String) As Boolean

    ''' <summary>
    ''' 获取订单的简要信息 create tianFW 2017/10/24
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetMfgorderInfo(ByRef para As Dictionary(Of String, String)) As DataTable

    ''' <summary>
    ''' 批量导入订单时创建订单 create tianFW2017/11/01
    ''' </summary>
    ''' <remarks></remarks>
    Function CreateNewMfgOrder(ByVal para As Dictionary(Of String, String), ByRef message As String) As Boolean

    ''' <summary>
    ''' 更新订单中的装饰信息 create tianFW 2017年11月21日
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function UpdateMfgOrderInfo(ByVal para As Dictionary(Of String, String))

    ''' <summary>
    ''' 获取父子订单最上层父订单 create tianFW 2018年1月15日
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetFatherMfgOrderInfo(ByVal para As Dictionary(Of String, String)) As uMESProcessResult

    ''' <summary>
    ''' 获取子订单信息 byFatherID create tianFW 2018年1月16日
    ''' </summary>
    ''' <param name="fatherOrderID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetSonMfgOrderInfo(ByVal fatherOrderID As String, ByVal para As Dictionary(Of String, String)) As DataTable

    ''' <summary>
    ''' 根据订单ID获取批次信息
    ''' </summary>
    ''' <param name="mfgOrderID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetContainerInfoByMfgOrderID(ByVal mfgOrderID As String) As DataTable

    ''' <summary>
    ''' 根据批次ID获取子工艺工艺表信息
    ''' </summary>
    ''' <param name="containerID"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetSubWorkflowInfoByContainerID(ByVal containerID As String) As DataTable
    ''' <summary>
    ''' 获取机型列表Add by Yuxj20180607
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetProductFamilyList() As DataTable

    ''' <summary>
    ''' 获取订单类型类别Add by Yuxj20180607
    ''' </summary>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetMfgOrderTypeList() As DataTable

    ''' <summary>
    ''' 获取订单关闭与打开信息 add zhunan 2022.6.17
    ''' </summary>
    ''' <param name="para"></param>
    ''' <returns></returns>
    ''' <remarks></remarks>
    Function GetMfgorderOpenOrCloseData(ByVal para As Dictionary(Of String, String)) As uMESProcessResult
End Interface
